package com.alog.javaee.day37;

import com.alog.common.Print;

import static org.junit.Assert.*;

/**
 * @Auther: Ye Zhengdong
 * @Date: 2019/2/16 20:58
 * @Description:
 */
public class UserDaoTest {

    @org.junit.Test
    public void login() {
        UserDao dao = new UserDao();
        User user = new User();
        user.setUsername("superbaby");
        user.setPassword("123");
        User user1 = dao.login(user);
        Print.print(user1);
    }
}